package com.dy.system.service.impl;

import com.dy.system.domain.Logs;
import com.dy.system.mapper.LogMapper;
import com.dy.system.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogMapper logMapper;

    @Override
    public void insert(Logs logs) {
        logMapper.insert(logs);
    }

    @Override
    public List<Logs> findAll() {
        return logMapper.findAll();
    }
}
